﻿<%@ page language="C#" autoeventwireup="true" inherits="Default_Search, App_Web_bpburowk" %>

<%@ Register Src="Footer.ascx" TagName="Footer" TagPrefix="MojoCube" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title></title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" />
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <meta name="apple-mobile-web-app-status-bar-style" content="black" />
    <meta name="format-detection" content="telephone=no" />
    <link rel="shortcut icon" href="../Images/favicon.ico" type="image/x-icon" />
    <%=MainCss%>
    <script src="js/jquery.min.js" type="text/javascript"></script>
    <script src="js/main.js" type="text/javascript"></script>

    <style type="text/css">
        .search_item_wrap{padding:10px 10px 0px 10px;}
        .search_item_title{padding:10px;}
        .search_item_title_delete{float:right; color:#999;}
        .search_item_content{padding:10px; clear:both; overflow:auto;}
        .search_item_box{padding:5px 10px; background:#eee; color:#666; margin-right:10px; border-radius:5px; margin-bottom:10px; float:left;}
    </style>

</head>

<body>
    
<form id="form1" runat="server">
    
    <MojoCube:Footer id="Footer" runat="server" />
    
    <asp:ScriptManager id="ScriptManager1"  runat="server"></asp:ScriptManager>
    
    <div class="index_wrapper" style="padding-bottom:35px;">
    
        <header>

            <div class="topbar">
                <a href="javascript:history.back(-1)" class="back_btn"><i class="icon iconfont">&#xf0115;</i></a>
                <a href="Product.aspx" class="top_home"><i class="icon iconfont">&#xf00d7;</i></a>
                <h1 class="page_title"><asp:Label ID="lblTitle" runat="server"></asp:Label></h1>
            </div>
    
        </header>
   
        <div class="search">
            <table style="width:100%; border:0px;">
                <tr>
                    <td>
                        <asp:TextBox ID="txtSearch" runat="server" placeholder="请输入商品关键字" CssClass="search_txt" autocomplete="off"></asp:TextBox>
                    </td>
                    <td style="width:60px; text-align:center">
                        <asp:LinkButton ID="lnbSearch" runat="server" CssClass="btnsearch" OnClick="lnbSearch_Click"><span>搜索</span></asp:LinkButton>
                    </td>
                </tr>
            </table>
        </div>
    
        <script type="text/javascript">

            document.getElementById("txtSearch").focus();

        </script>
        
        <asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional">
            <ContentTemplate>
    
                <div class="search_item_wrap">

                    <div class="search_item_title">
                        最近搜索
                        <asp:LinkButton ID="lnbDelete" runat="server" CssClass="search_item_title_delete" OnClick="lnbDelete_Click"><i class="icon iconfont">&#xf020a;</i></asp:LinkButton>
                    </div>
            
                    <div id="LastDiv" runat="server" class="search_item_content">
                    </div>

                </div>
        
                <div class="search_item_wrap">

                    <div class="search_item_title">
                        热门搜索
                        <asp:LinkButton ID="lnbRefresh" runat="server" CssClass="search_item_title_delete" OnClick="lnbRefresh_Click"><i class="icon iconfont">&#xf00f7;</i></asp:LinkButton>
                    </div>
            
                    <div id="HotDiv" runat="server" class="search_item_content">
                    </div>

                </div>
        
             </ContentTemplate>
        </asp:UpdatePanel>
            
    </div>
    
</form>
  
</body>

</html>